split array javascript by index

join shbcf.ru